home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / scriptz / sd3240b5.exe / _SETUP.1 / aliases.ini < prev    next >
Encoding:
INI File  |  1997-03-15  |  32.0 KB  |  661 lines

  1. [Aliases]
  2. n0=/lagtest /.ctcp $me PING
  3. n1=op /mode # +ooo $$1 $2 $3
  4. n2=dop /mode # -ooo $$1 $2 $3
  5. n3=j /join #$$1
  6. n4=p /part #
  7. n5=n /names #$$1
  8. n6=w /whois $$1
  9. n7=k /kick # $$1
  10. n8=q /query $$1
  11. n9=hop /part # | /join #$$1
  12. n10=send /dcc send $1 $2
  13. n11=chat /dcc chat $1
  14. n12=ping /ctcp $$1 ping
  15. n13=away {
  16. n14=  if $1 != $null { away *1 | .timer200 off | echo 12 Auto Away deactivated, manual Away set:10 *1 }
  17. n15=  else { .timer200 0 1 if ( $!idle = %idle ) /idle | echo 12 Away Deactivated:2 Auto Away reactivated | away }
  18. n16=}
  19. n17=;------------------=====Function Keys=====----------------
  20. n18=/F1 {
  21. n19=  set %wwwsite $$?="Input Text Site to Access:"
  22. n20=  /www %wwwsite
  23. n21=}
  24. n22=/F2 /enable #sdbot | echo 2 Strange Days Bot is now 10Enabled.
  25. n23=/SF2 /disable #sdbot | echo 2 Strange Days Bot is now 10Disabled. 
  26. n24=/F3 { xdccload $$?="Enter offer name to load:" }
  27. n25=/F4 general
  28. n26=/F5 {
  29. n27=  set %www $$?="Input Path of HTML Directory:"
  30. n28=}
  31. n29=/F6 /ignore -r %ignore
  32. n30=/F7 /.timer $+ %rtimer off
  33. n31=/F8 {
  34. n32=  ban -u60 %crtchan %last_join 3 
  35. n33=  kick %crtchan %last_join No Porn Trading in #  %ver
  36. n34=  us last_join crtchan 
  37. n35=}
  38. n36=/F9 /.ignore *!*@* | window 2 Press 12Shift-F9 2To Disable Total-Ignore | /.timer230 0 60 /ignrwarn 
  39. n37=/SF9 /.ignore -r *!*@* | /.timer230 off
  40. n38=/F10 /kick %nick_ison_chan %invitenick Invite This.
  41. n39=/SF10 /join %invitechan
  42. n40=/F11 {
  43. n41=  ban -u180 %crtchan %last_join 3
  44. n42=  kick %crtchan %last_join Bye-Bye...
  45. n43=  unset %crtchan last_join
  46. n44=}
  47. n45=who who *1 | .enable #who 
  48. n46=chatme {
  49. n47=  set %loop 1
  50. n48=  :loop
  51. n49=  if %loop > $chat(0) goto end
  52. n50=  if $chat(%loop) == $me { return yes | goto end }
  53. n51=  inc %loop
  54. n52=  goto loop
  55. n53=  :end
  56. n54=}
  57. n55=kban {
  58. n56=  .ruser kick *!*@ $+ $$2 
  59. n57=  mode $$1 +b *!*@ $+ $site
  60. n58=  if $$4 == 1 kick $$1 $$3 Channel Flood detected, 30 second ban 
  61. n59=  if $$4 == 2 kick $$1 $$3 Swearing is prohibited in this channel, 30 second ban 
  62. n60=  if $$4 == 3 kick $$1 $$3 Nick Flood detected, 30 second ban
  63. n61=  if $$4 == 4 kick $$1 $$3 Message exceeds 400 characters, 30 second ban
  64. n62=  .timer 1 30 mode $chan -b *!*@ $+ $$2
  65. n63=}
  66. n64=gets {
  67. n65=  set %result 0
  68. n66=  set %loop 1
  69. n67=  :loop
  70. n68=  if %loop > $send(0) goto end
  71. n69=  if $send(%loop) == $$1 inc %result
  72. n70=  inc %loop
  73. n71=  goto loop
  74. n72=  :end
  75. n73=  return %result
  76. n74=}
  77. n75=in {
  78. n76=  set %loop 1
  79. n77=  set %number 0
  80. n78=  :loop
  81. n79=  if %loop > $ial(*,0) goto end
  82. n80=  if (($ial(*,%loop).host == $$1) && ($ial(*,%loop).nick ison $$2)) { inc %number
  83. n81=  set % $+ $ial(*,%loop).host [ % [ $+ [ $ial(*,%loop).host ] ] ] $+ $ial(*,%loop).nick $+ , $+ $chr(160) }
  84. n82=  inc %loop
  85. n83=  goto loop
  86. n84=  :end
  87. n85=  set %nicks % [ $+ [ $$1 ] ]
  88. n86=  set %letters [ [ [ $len(%nicks) - 2 ] ] ]
  89. n87=  set % $+ $$1 $left(%letters,%nicks) $+ ñ
  90. n88=  unset %nicks | unset %letters
  91. n89=  return %number
  92. n90=}
  93. n91=init {
  94. n92=  :back
  95. n93=  /play -c $me $mircdir $+ startup.txt 10
  96. n94=}
  97. n95=inchan {
  98. n96=  set %loop 1
  99. n97=  set %number 0
  100. n98=  :loop
  101. n99=  if %loop > $ial(*,0) goto end
  102. n100=  if (($ial(*,%loop).host == $$1) && ($ial(*,%loop).nick ison $$2)) inc %number
  103. n101=  inc %loop
  104. n102=  goto loop
  105. n103=  :end
  106. n104=  return %number
  107. n105=}
  108. n106=opin {
  109. n107=  set %loop 1
  110. n108=  :loop
  111. n109=  if %loop > $opnick(0,$$1) goto end
  112. n110=  if $opnick(%loop,$$1) == $me { return true | halt }
  113. n111=  inc %loop
  114. n112=  goto loop
  115. n113=  :end
  116. n114=  return false
  117. n115=}
  118. n116=title  titlebar Strange Days v4.0  ñ $+ Idle time: $duration($idle) $+ ñ
  119. n117=title2  titlebar Strange Days v4.0  ñ $+ Idle time: $duration($idle) $+ ñ Playing Sound: ñ $+ $nopath(%sound) $+ ñ
  120. n118=idle {
  121. n119=  away Idle away: $duration(%idle) of no action 
  122. n120=  echo 12 -a ñ2 $+ $me $+ 12ñ Auto-Away activated, no action for2 $duration(%idle)
  123. n121=  if $channel(0) > 0 ame has been away for an idle time of $duration(%idle) ñ $+ Strange Days v4.0 $+ ñ 
  124. n122=  .timer200 off 
  125. n123=  set %gone %idle
  126. n124=  .timer201 0 1 if ( $!idle < 10 ) /idle2
  127. n125=  .timer202 0 1 inc %gone 
  128. n126=}
  129. n127=idle2 {
  130. n128=  echo 12 -a Welcome back2 $me 12ñ2 $+ Away for $duration(%gone) $+ 12ñ 
  131. n129=  away
  132. n130=  if $channel(0) > 0 ame Auto Away has been deactivated Total time gone: $duration(%gone) ñ $+ Strange Days v4.0 $+ ñ 
  133. n131=  .timer201 off
  134. n132=  .timer202 off
  135. n133=  .timer200 0 1 if ( $!idle == %idle ) /idle
  136. n134=}
  137. n135=general {
  138. n136=  echo 2 -a -=-=-=-=-=-=-=Current setup for ñ10Strange Days2ñ v4.0=-=-=-=-=-=-
  139. n137=  echo 2 -a Whois On Join:12 %whojn
  140. n138=  echo 2 -a Max clones allowed per channel:12 %allowed
  141. n139=  echo 2 -a Swear Protection:12 %swear
  142. n140=  echo 2 -a Channel Protection:12 %channel 
  143. n141=  echo 2 -a Auto Rejoin Kicker:12 %ark
  144. n142=  echo 2 -a Dirty Channel Kicker:12 %dck
  145. n143=  echo 2 -a Porn Trading:12 %trd
  146. n144=  echo 2 -a Channel Advertisements:12 %cad
  147. n145=  echo 2 -a Ban Protection:12 %pbp
  148. n146=  echo 2 -a Rejoin After Unban:12 %rab
  149. n147=  echo 2 -a Invite Flood Protection:12 %ifp
  150. n148=  echo 2 -a Notice Flood Protection:12 %pnotfp
  151. n149=  echo 2 -a Message Flood Protection:12 %mfp
  152. n150=  echo 2 -a Auto Away activated after:12 $duration(%idle)
  153. n151=  echo 2 -a Max CTCP's before flood protection activated:12 %flood
  154. n152=  echo 2 -a Kick after a channel flood of12 %chanflood 2messages 
  155. n153=  echo 2 -a Kick after a nick flood of12 %nickflood 2nick changes 
  156. n154=  echo 2 -a HTML Path:12 %www
  157. n155=  echo 2  -a -=-=-=-=-=-=-=-=-=-=-=-=-=12End of Setup2=-=-=-=-=-=-=-=-=-=-=-=-=-
  158. n156=}
  159. n157=awaylist {
  160. n158=  echo 12 $$1 ñ2Strange Days12ñ Scanning for users who are Away in ñ2 $+ $$1 $+ 12ñ
  161. n159=  set %chan $$1 |  .enable #away |  .raw who $$1 |  set %away 0
  162. n160=}
  163. n161=ircop {
  164. n162=  set %count 0
  165. n163=  set %loop 1
  166. n164=  :count
  167. n165=  if ( $nick(0,$$1) < %loop ) goto next
  168. n166=  if ( $level($address($nick(%loop,$$1),1)) == ircop ) inc %count 1
  169. n167=  inc %loop
  170. n168=  goto count
  171. n169=  :next
  172. n170=  if ( %count == 0 ) goto none
  173. n171=  echo 12 $$1 Listing IRC operators for channel 2 $+ $$1 $+ 12
  174. n172=  set %loop 1
  175. n173=  :scan
  176. n174=  if ( $nick(0,$$1) < %loop ) goto end
  177. n175=  if ( $level($address($nick(%loop,$$1),1)) == ircop ) echo 2 IRCop: 12 $nick(%loop,$$1) 
  178. n176=  inc %loop
  179. n177=  goto scan
  180. n178=  :end
  181. n179=  echo 12 $$1 ñ2Strange Days12ñ List of2 %count 12IRC operator(s) complete
  182. n180=  halt
  183. n181=  :none
  184. n182=  echo 12 $$1 ñ2Strange Days12ñ IRC operators for $$1 $+ : 2None
  185. n183=}
  186. n184=chan {
  187. n185=  set %loop 1
  188. n186=  set %count 0
  189. n187=  :count
  190. n188=  if ( $nick(0,$$1) < %loop ) goto next
  191. n189=  if ( $level($address($nick(%loop,$$1),1)) == ircop ) inc %count 1
  192. n190=  inc %loop
  193. n191=  goto count
  194. n192=  :next
  195. n193=  %ircp = [ 100 ] * [ %count ]
  196. n194=  %chops = [ 100 ] * [ $opnick(0,$$1) ]
  197. n195=  %cnops = [ 100 ] * [ $nopnick(0,$$1) ]
  198. n196=  %cvce = [ 100 ] * [ $vnick(0,$$1) ]
  199. n197=  %cnvce = [ 100 ] * [ $nvnick(0,$$1) ]
  200. n198=  %percirc = [ %ircp ] / [ $nick(0,$$1) ]
  201. n199=  %percops = [ %chops ] / [ $nick(0,$$1) ]
  202. n200=  %percnop = [ %cnops ] / $nick(0,$$1)
  203. n201=  %percvce = [ %cvce ] / $nick(0,$$1)
  204. n202=  %pernvce = [ %cnvce ] / $nick(0,$$1)
  205. n203=  echo 2 -a ñ12Strange Days2ñ $$1 IRCops:12 %count 2(10 %percirc $+ % 2)
  206. n204=  echo 2 -a ñ12Strange Days2ñ $$1 Ops:12 $opnick(0,$$1) 2(10 %percops $+ % 2)
  207. n205=  echo 2 -a ñ12Strange Days2ñ $$1 Non-Ops:12 $nopnick(0,$$1) 2(10 %percnop $+ % 2)
  208. n206=  echo 2 -a ñ12Strange Days2ñ $$1 Voices:12 $vnick(0,$$1) 2(10 %percvce $+ % 2)
  209. n207=  echo 2 -a ñ12Strange Days2ñ $$1 Non-Voices:12 $nvnick(0,$$1) 2(10 %pernvce $+ % 2)
  210. n208=  echo 2 -a ñ12Strange Days2ñ $$1 Total Users:12 $nick(0,$$1)
  211. n209=  echo 2 -a ñ12Strange Days2ñ end of 12 $+ $$1 $+ 2ñ Status
  212. n210=}
  213. n211=clones {
  214. n212=  echo 2 ñ12Strange Days2ñ Searching for clones in ñ12 $+ $$1 $+ 2ñ
  215. n213=  set %loops 1
  216. n214=  set %count 1
  217. n215=  :loop
  218. n216=  if %loops > $nick(%loops,$$1) { goto finish | set %loops 1 }
  219. n217=  if $ial($address($nick(%loops,$$1),2),0) > 1 {
  220. n218=    if $inchan($remove($address($nick(%loops,$$1),2),*!*@),$$1) == $ial($address($nick(%loops,$$1),2),0) {
  221. n219=      if %done [ $+ [ $address($nick(%loops,$$1),2) ] ] == $null { set % $+ clone $+  $remove($address($nick(%loops,$$1),2),*!*@) ñ $+ $nick(%loops,$$1) | set %done $+ $address($nick(%loops,$$1),2) 0  }
  222. n220=      else set % $+ clone $+ $remove($address($nick(%loops,$$1),2),*!*@)  [ % [ $+ [ clone [ $+  [ $remove($address($nick(%loops,$$1),2),*!*@) ] ] ] ] ]  $+ , $+ $chr(160) $+ $nick(%loops,$$1) 
  223. n221=      inc %done $+ $address($nick(%loops,$$1),2) 
  224. n222=      if %done [ $+ [ $address($nick(%loops,$$1),2) ] ] == $ial($address($nick(%loops,$$1),2),0) {
  225. n223=        echo 2 Clone set 10 $+ %count $+ :12 % [ $+ [ clone [ $+ [ $remove($address($nick(%loops,$$1),2),*!*@) ] ] ] ] $+ ñ
  226. n224=        echo 2 Cloning Address: ñ14 $+ $remove($address($nick(%loops,$$1),2),*!*@) $+ 2ñ
  227. n225=      inc %count }
  228. n226=    }
  229. n227=  }
  230. n228=  inc %loops | goto loop
  231. n229=  :finish
  232. n230=  unset %clone*
  233. n231=  unset %done*
  234. n232=  set %count [ [ %count ] - 1 ]
  235. n233=  if %count != $null echo 2 ñ12Strange Days2ñ Total:12 %count 2clone set(s) in ñ12 $+ $$1 $+ 2ñ
  236. n234=  unset %count
  237. n235=}
  238. n236=;======================[Basic Stuff]========================
  239. n237=/us  /unset % [ $+ [ $1 ] ] % [ $+ [ $2 ] ] % [ $+ [ $3 ] ] % [ $+ [ $4 ] ] % [ $+ [ $5 ] ] % [ $+ [ $6 ] ] 
  240. n238=/p /part #
  241. n239=/n /names #$$1
  242. n240=/q /query $$1
  243. n241=/send /dcc send $1 $2
  244. n242=/chat /dcc chat $1
  245. n243=/ping /ctcp $$1 ping
  246. n244=/b /ban # $1 3
  247. n245=/bk /mode # -o+b %shitnick $address(%shitnick,2) | /kick # %shitnick You Are ShitListed á %ver
  248. n246=/op /mode # +ooo $$1 $2 $3 | /mode # +ooo $$4 $5 $6
  249. n247=/deop /mode # -ooo $$1 $2 $3 | /mode # -ooo $$4 $5 $6
  250. n248=/ping /ctcp $$1 ping
  251. n249=/o /onotice # 1,1á16,1[8,5O11,5-3,5N11,5o13,5T15,5i4,5C12,5e16,1]1,1áá16,2 *1
  252. n250=/w /say W00 H00 !!! | /sound woohoo.wav
  253. n251=/l /part
  254. n252=/j /RAW -q JOIN #$1 : $+ *2
  255. n253=/w /whois $1
  256. n254=/ww /whowas $$1
  257. n255=/k /kick # $$1 *2
  258. n256=/q /query $$1
  259. n257=/send /dcc send $1 $2
  260. n258=/chat /dcc chat $1
  261. n259=/top /topic # *1
  262. n260=/to /timers off
  263. n261=/i /invite $$1 #
  264. n262=/m /msg $$1 *2
  265. n263=;=====================[Utility Stuff]=======================
  266. n264=/wlc {
  267. n265=  set %len $len($$1)
  268. n266=  %len = %len - 1
  269. n267=  set % [ $+ [ $$2 ] ] $left(%len,$$1)
  270. n268=}
  271. n269=/back {
  272. n270=  if ( %mynick != $null ) { nick %mynick }
  273. n271=  set %amc off
  274. n272=  .disable #pager #amachine 
  275. n273=  set %amc OFF 
  276. n274=  .rlevel 8
  277. n275=  unset %mynick
  278. n276=}
  279. n277=/ct {
  280. n278=  set %counter 1
  281. n279=  set %len $len(*1)
  282. n280=  set %text ""
  283. n281=  :loop
  284. n282=  set %colour $rand(1,13)
  285. n283=  set %char $mid(%counter,1,*1)
  286. n284=  if %char == $chr(32) { inc %counter | %text = %text $+ $chr(0160) | goto next }
  287. n285=  if (%colour == 8) || (%colour == 9) || (%colour == 11) { goto loop }
  288. n286=  %text = %text $+  $+ %colour $+ %char
  289. n287=  inc %counter
  290. n288=  :next
  291. n289=  if %counter > %len goto end
  292. n290=  goto loop
  293. n291=  :end
  294. n292=  say %text
  295. n293=}
  296. n294=/window {
  297. n295=  if ( $chr(61) isin $active ) { /dde HEADQ command "" /echo $$1 *2 }
  298. n296=  elseif ( Get isin $active )  { /dde HEADQ command "" /echo $$1 *2 }
  299. n297=  elseif ( Send isin $active ) { /echo $$1 -s *2 }
  300. n298=  else if ( Status isin $active ) { /echo $$1 -s *2 }
  301. n299=  Else { /echo $$1 $active *2 }
  302. n300=}
  303. n301=/d.ban {
  304. n302=  unset %bannedlist
  305. n303=  mode $$2 +b $3
  306. n304=  /.timer 1 $$1 /d.unban $$2 $3
  307. n305=}
  308. n306=/d.unban {
  309. n307=  set %unban $2
  310. n308=  .enable #unban
  311. n309=  mode $$1 b
  312. n310=}
  313. n311=/ifop {
  314. n312=  set %adrlvl $address($$1,4)
  315. n313=  set %adrlvl $mask(%adrlvl,3)
  316. n314=  if ( $$1 isop $2 ) || ( %friendlevel isin $level(%adrlvl) ) { return 200 } 
  317. n315=  else { return 1 } 
  318. n316=}
  319. n317=/ignrwarn {
  320. n318=  window 2 Total IGNORE is enabled... That means EVERYONE is ignored :)
  321. n319=  window 2 Press 12Shift-F9 2To Disable Total-Ignore
  322. n320=}
  323. n321=/chgawaynick {
  324. n322=  if (%awaysuffix isin $me) goto end 
  325. n323=  nick %mynick $+ %awaysuffix
  326. n324=  :end
  327. n325=}
  328. n326=/time {
  329. n327=  if ( $left(1,$time) == 0 || $left(2,$time) == 00 ) {
  330. n328=    %stat.time1 = 12
  331. n329=    %stat.time2 = $token(2,58,$time)
  332. n330=    %stat.time = %stat.time1 $+ : $+ %stat.time2 $+ am
  333. n331=  }
  334. n332=  elseif ( $chr(58) isin $left(2,$time) ) {
  335. n333=    %stat.time1 = $remove($left(2,$time),:)
  336. n334=    %stat.time2 = $token(2,58,$time)
  337. n335=    %stat.time = %stat.time1 $+ : $+ %stat.time2 $+ am
  338. n336=  }
  339. n337=  elseif ( $left(2,$time) == 12 ) {
  340. n338=    %stat.time1 = 12
  341. n339=    %stat.time2 = $token(2,58,$time)
  342. n340=    %stat.time = %stat.time1 $+ : $+ %stat.time2 $+ pm
  343. n341=  }
  344. n342=  elseif ( $token(1,58,$time) > 9  &&  $token(1,58,$time) < 12 ) {
  345. n343=    %stat.time1 = $token(1,58,$time)
  346. n344=    %stat.time2 = $token(2,58,$time)
  347. n345=    %stat.time = %stat.time1 $+ : $+ %stat.time2 $+ am
  348. n346=  }
  349. n347=  else {
  350. n348=    %stat.time1 = $left(2,$time) - 12
  351. n349=    %stat.time2 = $token(2,58,$time)
  352. n350=    %stat.time = %stat.time1 $+ : $+ %stat.time2 $+ pm
  353. n351=  }
  354. n352=}
  355. n353=/filterkick {
  356. n354=  set %count $nick(0,$1)
  357. n355=  set %no_clone 0
  358. n356=  :check
  359. n357=  if ($nick(%count,$1) != $me) {
  360. n358=    set %nick $nick(%count,$1)
  361. n359=    set %luser $address(%nick,0)
  362. n360=    if ($2 iswm %luser || $2 isin %luser) { inc %no_clone | raw -q kick $1 %nick :Mass kick of $2 ( $+ %no_clone $+ ) }
  363. n361=  }  
  364. n362=  dec %count  
  365. n363=  if (%count > 0) goto check
  366. n364=  us count luser nick
  367. n365=}
  368. n366=/dkb {
  369. n367=  if ( $3 == $null ) { 
  370. n368=    mode $$1 -o+b $$2 $address($$2,3)
  371. n369=  kick $$1 $$2 Deop-Kick-Ban}
  372. n370=  else { 
  373. n371=    echo $active $$2 $address($$2,3) $$3 $address($$3,3)
  374. n372=    mode $$1 -oo+bb $$2 $$3 $address($$2,3) $address($$3,3) 
  375. n373=    kick $$1 $$2 Deop-Kick-Ban 
  376. n374=    kick $$1 $$3 Deop-Kick-Ban
  377. n375=  } 
  378. n376=}
  379. n377=/checkswear {
  380. n378=  ifop $$1 $2 
  381. n379=  if ($result != 200) {
  382. n380=    /.auser 2 $1 
  383. n381=    notice $1 No Swearing! (Strike 1) 
  384. n382=    /.timer 1 240 /.ruser 2 $1
  385. n383=  }
  386. n384=}
  387. n385=/rban {
  388. n386=  %l = $len($2)
  389. n387=  %l = %l - 1
  390. n388=  %loop = 1
  391. n389=  %newmask = $2
  392. n390=  :start
  393. n391=  %pos = $rand(1,%l)   
  394. n392=  %chars = $mid(%pos,2,$$2) 
  395. n393=  %firstchar = $left(1,%chars)
  396. n394=  if ( %firstchar == $chr(64) ) || ( %firstchar == $chr(46) ) || ( %firstchar == $chr(33) ) { dec %loop | goto next }
  397. n395=  else {
  398. n396=    %chars2 = $chr(63) $+ $right(1,%chars)
  399. n397=    %newmask = $replace(%newmask,%chars,%chars2)
  400. n398=  }
  401. n399=  :next
  402. n400=  inc %loop 
  403. n401=  if ( %loop >= $3 ) goto end
  404. n402=  else goto start
  405. n403=  :end
  406. n404=  mode $$1 +b %newmask
  407. n405=}
  408. n406=/norminit {
  409. n407=  .ignore -r *!*@*
  410. n408=  if ( %pbp == on ) { .enable #dontbanme }
  411. n409=  else { set %pbp off | .disable #dontbanme }
  412. n410=  if ( %rab == on ) { .enable #dis #15 }
  413. n411=  else { set %rab off | .disable #dis #15  }
  414. n412=  if ( %ifp == on ) { .enable #5 }
  415. n413=  else { set %ifp off | .disable #5  }
  416. n414=  if ( %pnotfp == on ) { .enable #9a }
  417. n415=  else { set %pnotfp off | .disable #9a }
  418. n416=  if ( %mfp == on ) { .enable #8 }
  419. n417=  else { set %mfp off | .disable #8 }
  420. n418=  if ( %dccbomb == on ) { .enable #11 #12 #13 }
  421. n419=  else { set %dccbomb off | .disable #11 #12 #13 }
  422. n420=}
  423. n421=/rever %ctcpparms
  424. n422=;--------------========Advertising Checkers=======-------------
  425. n423=/personal.checker {
  426. n424=  %i = 3
  427. n425=  :personal_start
  428. n426=  %tempword = $ [ $+ [ %i ] ]
  429. n427=  if (%tempword == $null) { 
  430. n428=    return 10
  431. n429=  }
  432. n430=  if (%tempword isin %checkwords) { goto end }
  433. n431=  else { inc %i 
  434. n432=    goto personal_start
  435. n433=  }
  436. n434=  :end
  437. n435=  return 2
  438. n436=}
  439. n437=/trade.checker {
  440. n438=  %i = 3
  441. n439=  :trade_start
  442. n440=  %tempword = $ [ $+ [ %i ] ]
  443. n441=  if (%tempword == $null) { goto end }
  444. n442=  if (%tempword isin %checkwords) { 
  445. n443=    ban -u120 $$1 $2 3
  446. n444=    kick $$1 $2 No Porn Trading Is Allowed In This Channel (Strange Days v4.0) | goto end
  447. n445=  }
  448. n446=  else {
  449. n447=    inc %i
  450. n448=    goto trade_start
  451. n449=  }
  452. n450=  :end
  453. n451=}
  454. n452=/ad.checker {
  455. n453=  if (%protectchan iswm %checkwords) || ($$1 isin %checkwords) { goto end }
  456. n454=  %i = 3
  457. n455=  :start
  458. n456=  %temp = $ [ $+ [ %i ] ]
  459. n457=  if (%temp == $null) { goto end }
  460. n458=  if (%temp isin %checkwords) {
  461. n459=    ban -u180 $$1 $$2 3
  462. n460=    kick $$1 $$2 Advertising Is Not Allowed In This Channel (Strange Days v4.0)
  463. n461=  }
  464. n462=  else { inc %i 
  465. n463=    goto start
  466. n464=  }
  467. n465=  :end
  468. n466=  return
  469. n467=}  
  470. n468=/fserve.checker {
  471. n469=  %i = 1
  472. n470=  :start
  473. n471=  %temp = $ [ $+ [ %i ] ]
  474. n472=  if (%temp == $null) { goto end }
  475. n473=  elseif (%temp isin %checkwords) { return 7 }
  476. n474=  else { inc %i 
  477. n475=    goto start
  478. n476=  }
  479. n477=  :end
  480. n478=  return
  481. n479=}
  482. n480=/desync1 /raw -q mode # +bbbbbb 1@1 2@2 3@3 4@4 5@5 6@6 | /raw -q mode # +bbbbbb 7@7 8@8 9@9 10@10 11@11 12@12 | /raw -q mode # +bbbbbb 13@13 14@14 15@15 16@16 17@17 18@18 | /raw -q mode # +bbbbbb 19@19 20@20 21@21 22@22 23@23 24@24 | /raw -q mode # +bbbbbb 25@25 26@26 27@27 28@28 29@29 30@30
  483. n481=/desync2 /raw -q mode # -bbbbbb 1@1 2@2 3@3 4@4 5@5 6@6 | /raw -q mode # -bbbbbb 7@7 8@8 9@9 10@10 11@11 12@12 | /raw -q mode # -bbbbbb 13@13 14@14 15@15 16@16 17@17 18@18 | /raw -q mode # -bbbbbb 19@19 20@20 21@21 22@22 23@23 24@24 | /raw -q mode # -bbbbbb 25@25 26@26 27@27 28@28 29@29 30@30
  484. n482=/massd {
  485. n483=  set %chan #
  486. n484=  set %i 1
  487. n485=  set %num 0
  488. n486=  :start
  489. n487=  set %user $opnick(%i,%chan)
  490. n488=  if (%user == $null) { raw -q mode # -oooooo %nick | echo 2 # 2░14¿10¿2░14║10⌐2º14t10«14┼10±14g2╚ 2D14σ10Ñ2º 2(-)10δ2╫10⌐14║2░10¿14¿2░ Mass Deop On # Complete! | unset %nick | unset %i | unset %chan | unset %num | halt }
  491. n489=  if (%user != $me) { set %nick %user %nick | if (%num == 6) { raw -q mode %chan -oooooo %nick | unset %nick | set %num 0 } }  
  492. n490=  inc %i 1 
  493. n491=  inc %num 1  
  494. n492=  goto start
  495. n493=}  
  496. n494=/massk {
  497. n495=  set %i 1
  498. n496=  :start
  499. n497=  set %nick $nick(%i,#)
  500. n498=  if (%nick == $null) { echo 2 # 2░14¿10¿2░14║10⌐2º14t10«14┼10±14g2╚ 2D14σ10Ñ2º 2(-)10δ2╫10⌐14║2░10¿14¿2░ Mass Kick On # Complete! | halt }
  501. n499=  if (%nick != $me) { kick # %nick Strange Days Mass Kick }
  502. n500=  inc %i 1  
  503. n501=  goto start  
  504. n502=}
  505. n503=/massb {
  506. n504=  set %i 1
  507. n505=  :start
  508. n506=  set %nick $nick(%i,#)
  509. n507=  if (%nick == $null) { echo 2 # 2░14¿10¿2░14║10⌐2º14t10«14┼10±14g2╚ 2D14σ10Ñ2º 2(-)10δ2╫10⌐14║2░10¿14¿2░ Mass Ban On # Complete! | halt }
  510. n508=  if (%nick != $me) { ban # %nick 3 }
  511. n509=  inc %i 1  
  512. n510=  goto start  
  513. n511=}
  514. n512=/masskb {
  515. n513=  set %i 1
  516. n514=  :start
  517. n515=  set %nick $nick(%i,#)
  518. n516=  if (%nick == $null) { echo 2 # 2░14¿10¿2░14║10⌐2º14t10«14┼10±14g2╚ 2D14σ10Ñ2º 2(-)10δ2╫10⌐14║2░10¿14¿2░ Mass Kick Ban On # Complete! | halt }
  519. n517=  if (%nick != $me) { ban # %nick 3 | kick # %nick Strange Days Mass Kick/Ban }
  520. n518=  inc %i 1  
  521. n519=  goto start  
  522. n520=}
  523. n521=/rev {
  524. n522=  unset %final
  525. n523=  unset %endreverse
  526. n524=  set %sections $token(0,32,*1)
  527. n525=  :revstart
  528. n526=  if (%sections == 0) goto revend  
  529. n527=  set %reverseme $token(%sections,32,*1)
  530. n528=  set %length $len(%reverseme)
  531. n529=  set %backtext $mid(%length,1,%reverseme)  
  532. n530=  dec %length 1  
  533. n531=  :backstart
  534. n532=  if (%length == 0) goto backend
  535. n533=  set %tempback $mid(%length,1,%reverseme)
  536. n534=  set %backtext %backtext $+ %tempback 
  537. n535=  dec %length 1
  538. n536=  goto backstart
  539. n537=  :backend
  540. n538=  set %reversed_text %backtext
  541. n539=  set %temp %reversed_text
  542. n540=  set %final %final %temp
  543. n541=  dec %sections 1
  544. n542=  goto revstart  
  545. n543=  :revend
  546. n544=  set %endreverse %final
  547. n545=  say %final
  548. n546=}
  549. n547=ece {
  550. n548=  %c = *1
  551. n549=  set %c $replace(%c,a,4a)
  552. n550=  set %c $replace(%c,b,3B)
  553. n551=  set %c $replace(%c,c,6C) 
  554. n552=  set %c $replace(%c,d,7D) 
  555. n553=  set %c $replace(%c,e,4e) 
  556. n554=  set %c $replace(%c,f,12F) 
  557. n555=  set %c $replace(%c,g,13G) 
  558. n556=  set %c $replace(%c,h,6H) 
  559. n557=  set %c $replace(%c,i,4i) 
  560. n558=  set %c $replace(%c,j,J) 
  561. n559=  set %c $replace(%c,k,3K) 
  562. n560=  set %c $replace(%c,l,L) 
  563. n561=  set %c $replace(%c,m,4M) 
  564. n562=  set %c $replace(%c,n,6N)
  565. n563=  set %c $replace(%c,o,4o) 
  566. n564=  set %c $replace(%c,p,12P) 
  567. n565=  set %c $replace(%c,q,Q) 
  568. n566=  set %c $replace(%c,r,13R) 
  569. n567=  set %c $replace(%c,s,7S) 
  570. n568=  set %c $replace(%c,t,T) 
  571. n569=  set %c $replace(%c,u,4u) 
  572. n570=  set %c $replace(%c,v,V) 
  573. n571=  set %c $replace(%c,w,12W) 
  574. n572=  set %c $replace(%c,x,7X) 
  575. n573=  set %c $replace(%c,y,Y) 
  576. n574=  set %c $replace(%c,z,6z) 
  577. n575=  set %c $replace(%c,?,12┐15?) 
  578. n576=  say %c
  579. n577=  unset %c
  580. n578=}
  581. n579=/splitlooker {
  582. n580=  .timer750 1 30 /unset %split
  583. n581=  .timer751 1 30 /unset %splitlist
  584. n582=  if (($right(7,$parm1) == dal.net) && ($right(7,$parm2) == dal.net)) {
  585. n583=    set %split2 $token(1,46,$parm2)
  586. n584=    set %split $token(1,46,$parm1)
  587. n585=    if %split !isin %splitlist {
  588. n586=      set %splitlist %splitlist %split
  589. n587=      window 2 *** Netsplit: 10ñ $+ %split $+ / $+ %split2 $+ ñ  2░14¿10¿2░14║10⌐2º14t10«14┼10±14g2╚ 2D14σ10Ñ2º10⌐14║2░10¿14¿2░
  590. n588=    }
  591. n589=  }
  592. n590=}
  593. n591=d.nickserv.login {
  594. n592=  if ($token(0,44,%NickServ) != $null) {
  595. n593=    %count = $token(0,44,%NickServ)    
  596. n594=    :identifyNick
  597. n595=    %nickparms = $token(%count,44,%NickServ)
  598. n596=    if ($me isin %nickparms) { 
  599. n597=      msg NickServ identify $remove(%nickparms,$me) 
  600. n598=    }
  601. n599=    dec %count
  602. n600=    if (%count > 0) goto identifyNick
  603. n601=  }
  604. n602=}
  605. n603=tmo { set %i 0 | set %tmo 0 | :start | inc %i | if (%file [ $+ [ %i ] ] == $null) goto next | %tmo = %tmo + $lof(%file [ $+ [ %i ] ] ) | goto start | :next | %tmo2 = %tmo / 1000000 | %tmo1 = %tmo % 1000000 | if ($len(%tmo1) < 7) set %tmo1 1 | %tmo2 = %tmo2 $+ . $+ $left(1,%tmo1) | halt }
  606. n604=xdcc { if ($1 == on) { .disable #fserve | set %fserve off | set %xdccs on | .enable #xdcc | .enable #xdccmsg | halt } | if ($1 == off) { set %xdccs off | .disable #xdcc | .disable #xdccmsg | halt } | if (($1 == file) && ($2 != $null)) set %file [ $+ [ $2 ] ] $dir="Select File for Pack [ $2 ] "  *.* | if (($1 == desc) && ($2 != $null)) { set %filedesc [ $+ [ $2 ] ] $?="Pack Description for [ [ $2 ] $+ ] :" | tmo } | if (($1 == note) && ($2 != $null)) set %fcomment [ $+ [ $2 ] ] $?="Comment for [ $2 ] " } 
  607. n605=kps { if ($len($1) > 3) %cpsget = $remove($1,$right(3,$1)) $+ . $+ $left(2,$right(3,$1)) | else %cpsget = 0 $+ . $+ $1 | return %cpsget }
  608. n606=checksend { set %i 0 | :start | inc %i | if ($send(%i) == $null) halt | if (($send(%i) == $1) && ($send(%i).file == $2) && ($send(%i).status == waiting)) { close -s $1 $2 | raw -q notice $1 :Timeout: $2 | echo %c -a %h One or more DCC SENDs to $1 have timed out. | halt } | goto start }
  609. n607=pmin { if (($1 == $null) || ($2 == $null) || ($1 > %numpacks)) halt | if ($2 == 0) { unset %minsp [ $+ [ $1 ] ] | echo %c -a %h Removed minspeed for  $+ %c2 $+ $1 $+ . | halt } | set %minsp [ $+ [ $1 ] ] [ $2 * 1000 ] | echo %c -a %h Minspeed for Pack $1 $+ :  $+ %c2 $+ $2 $+ kb/s. }
  610. n608=minspeed { if ($1 == $null) halt | if ($1 == 0) { set %msall off | unset %allspeed | halt } | set %msall on | %allspeed = $1 * 1000 | echo %c -a %h Minspeed:  $+ %c2 $+ $1 $+ kb/s. } 
  611. n609=doffer { set %xdccs off | .disable #xdcc | .disable #xdccmsg | set %msall off | set %allspeed 0 | unset %minsp* | unset %file* | unset %fcomment* | set %record 0 | set %numpacks 0 | set %xdcclist 0 | set %xdccsend 0 | unset %tlmegs | unset %totalmegs | unset %get* | echo %c -a %h All packs removed from offer list. | set %xdccs off | cq }
  612. n610=addpack { %num = %numpacks + 1 | set %get [ $+ [ %num ] ] 0 | set %filedesc [ $+ [ %num ] ] $$?="Pack Description for [ [ %num ] $+ ] :" | set %fcomment [ $+ [ %num ] ] $?="Comment for [ %num ] Press Cancel for None:" | set %file [ $+ [ %num ] ] $dir="Select File for Pack [ %num ] "  *.* | set %numpacks %num | echo %c -a %h  XDCC Pack Number  $+ %c2 $+ [ %num ] $+  has been added. | tmo }
  613. n611=offer { set %record 0 | set %lrecord 0 | set %fserve off | .disable #fserve | set %xdccs on | .enable #xdcc | .enable #xdccmsg | set %numpacks $$?="Number of Packs:" | set %num 0 | :start | inc %num | if (%num > %numpacks) { set %showsum $$?="Show Summary Line? y for Yes, n for No" | echo %c -a %h  XDCC Offer has been set. Type /dcc anytime for DCC status. | tmo } | set %get [ $+ [ %num ] ] 0 | set %filedesc [ $+ [ %num ] ] $$?="Pack Description for [ [ %num ] $+ ] :" | set %fcomment [ $+ [ %num ] ] $?="Comment for [ %num ] Press Cancel for None:" | set %file [ $+ [ %num ] ] $dir="File for Pack [ %num ] "  *.* | goto start }
  614. n612=cq write -c %qpath
  615. n613=fsize { if ($lof(%file [ $+ [ %num ] ] ) < 1000) { %fsize = $lof(%file [ $+ [ %num ] ] ) | set %bc b } | if (($lof(%file [ $+ [ %num ] ] ) >= 1000) && ($lof(%file [ $+ [ %num ] ] ) < 1000000)) { %fsize = $lof(%file [ $+ [ %num ] ] ) / 1000 | set %bc k } | if ($lof(%file [ $+ [ %num ] ] ) > 1000000) { %fsize = $lof(%file [ $+ [ %num ] ] ) / 1000000 | %fsize1 = $lof(%file [ $+ [ %num ] ] ) % 1000000 | %fsize = %fsize $+ . $+ $left(1,%fsize1) | set %bc M } | return %fsize }
  616. n614=psend { if ($3 != $null) write -dl1 %qpath | if ($2 > %numpacks) halt | raw -q notice $1 :Sending you %filedesc [ $+ [ $2 ] ] $+ , which is one file. | inc %get [ $+ [ $2 ] ] | .timer 1 %chsend checksend $1 [ $nopath(%file [ $+ [ $2 ] ] ) ] | if (%minsp [ $+ [ $2 ] ] != $null) { .timer 1 20 checkspeed $nick $nopath(%file [ $+ [ $2 ] ] ) [ %minsp [ $+ [ $2 ] ] ] } | dcc send $1 [ %file [ $+ [ $2 ] ] ] }
  617. n615=nlist { if (%numpacks == 0) halt | if ($1 == $null) set %xc .notice $active | else set %xc .notice $1 | sdcc }
  618. n616=plist { if (%numpacks == 0) halt | if ($1 == $null) set %xc amsg | else set %xc msg $1 | sdcc } 
  619. n617=dcc {
  620. n618=  if ($1 == send) { dcc send *2 | halt } | if ($1 == chat) { dcc chat *2 | halt } | if (($send(0) == 0) && ($get(0) == 0)) { echo %c -a %h Nothing on DCC list. | halt } | echo %c -a %h 1, $+ %c3 $+ DnumááááTypeááááNickáááááááStatusááááKpsáááááFilenameááá | if ($get(0) == 0) { set %i 1 | goto send } | if ($send(0) == 0) set %anysends no | set %i 0 | :start | inc %i | unset %barl | if (%i > $get(0)) goto send | %cpsget = $kps($get(%i).cps) | if (($get(%i).cps == n/a) || ($get(%i).cps == 0)) { set %cpsget 0.00 | set %geta4 n/a | goto get1 } | set %geta1 0 | set %geta2 0 | set %geta3 0
  621. n619=  %geta = $get(%i).size - $get(%i).rcvd | %geta = %geta / $get(%i).cps | :etag | if (%geta < 60) goto sec | if ((%geta >= 60) && (%geta < 3600)) goto min | %geta3 = %geta / 3600 | %geta = %geta % 3600 | goto etag | :min | %geta2 = %geta / 60  | %geta = %geta % 60  | goto etag | :sec | if (%geta != 0) set %geta1 %geta | if ((%geta1 >= 0) && (%geta1 < 10)) %geta1 = 0 $+ %geta1 | if ((%geta2 >= 0) && (%geta2 < 10)) %geta2 = 0 $+ %geta2 | %geta4 = %geta3 $+ : $+ %geta2 $+ : $+ %geta1 | :get1 
  622. n620=  echo %c -a áááááááá# $+ %i  áááááGETáááá $get(%i) ááá $get(%i).status áá %cpsget ááá $get(%i).file | %barl = $get(%i).pc + 1 | echo %c -a $read -l $+ %barl %path $+ \dccstat.txt $get(%i).pc $+ % áETA %geta4 ( $+ %c2 $+ $get(%i).rcvd $+  of  $+ %c3 $+ $get(%i).size $+  bytes) | goto start | :send | dec %i | set %j 0 | :begin | inc %j | inc %i | unset %barl | if (%j > $send(0)) goto end | %cpssend = $kps($send(%j).cps) | if (($send(%j).cps == n/a) || ($send(%i).cps == 0)) { set %cpssend 0.00 | set %geta4 n/a | goto send1 } | set %geta1 0 | set %geta2 0 | set %geta3 0
  623. n621=  %geta = $send(%j).size - $send(%j).sent | %geta = %geta / $send(%j).cps | :etas | if (%geta < 60) goto secs | if ((%geta >= 60) && (%geta < 3600)) goto mins | %geta3 = %geta / 3600 | %geta = %geta % 3600 | goto etas | :mins | %geta2 = %geta / 60  | %geta = %geta % 60 | goto etas | :secs | if (%geta != 0) set %geta1 %geta | if ((%geta1 >= 0) && (%geta1 < 10)) %geta1 = 0 $+ %geta1 | if ((%geta2 >= 0) && (%geta2 < 10)) %geta2 = 0 $+ %geta2 | %geta4 = %geta3 $+ : $+ %geta2 $+ : $+ %geta1 | :send1
  624. n622=  echo %c -a áááááááá# $+ %i áááááSEND áá $send(%j) áá $send(%j).status áá %cpssend áá $send(%j).file | %barl = $send(%j).pc + 1 | echo %c -a $read -l $+ %barl %path $+ \dccstat.txt $send(%j).pc $+ % áETA %geta4 ( $+ %c2 $+ $send(%j).sent $+  of  $+ %c3 $+ $send(%j).size $+  bytes) | goto begin | :end 
  625. n623=}
  626. n624=sdcc {
  627. n625=  %numopen = %maxslots - $send(0) | set %num 0 | :start | inc %num | if (%num > %numpacks) { if (%showsum != y) halt | if (%showsum == y) { set %g 0 | set %totalmegs 0 | set %tlmegs 0 | :begin | inc %g | if (%g <= %numpacks) { %tmegs = %get [ $+ [ %g ] ] * $lof(%file [ $+ [ %g ] ] ) | inc %tlmegs %tmegs | %omegs = $lof(%file [ $+ [ %g ] ] ) | inc %ofmegs %omegs | goto begin } | %totalmegs = %tlmegs / 1000000 | %totalmegs1 = %tlmegs % 1000000 | %totalmegs = %totalmegs $+ . $+ $left(1,%totalmegs1) | %xc Total Offered:  $+ %tmo2 $+ M Total Snagged:  $+ %totalmegs $+ M } | set %xdcc open | halt }
  628. n626=  if ((%num == 1) && (%msall == on)) { %aspeed = %allspeed / 1000 | %xc ** %numpacks packs **   $+ %numopen $+  of  $+ %maxslots $+  slots open, queue:  $+ $lines(%qpath) $+ / $+ %maxqueue $+ . Min:  $+ %aspeed $+ kb/s, Record:  $+ %record $+ kb/s } | if ((%num == 1) && (%msall != on)) %xc ** %numpacks packs **   $+ %numopen $+  of  $+ %maxslots $+  slots open, queue:  $+ $lines(%qpath) $+ / $+ %maxqueue $+ . Record:  $+ %record $+ kb/s | %xc # $+ %num $+  %get [ $+ [ %num ] ] $+ x [ $+ $fsize(%num) $+ %bc $+ ] %filedesc [ $+ [ %num ] ] 
  629. n627=  if (%fcomment [ $+ [ %num ] ] == $null) goto start | %xc á^- %fcomment [ $+ [ %num ] ] | goto start
  630. n628=}
  631. n629=xdccload {
  632. n630=  if ($1 == $null) halt | if ($readini %path $+ \xdcc.txt $1 numpacks == $null) { echo %c -a %h No such offer in xdcc save. | halt } | set %i 0 | %numpacks = $readini %path $+ \xdcc.txt $1 numpacks | :start | inc %i | if (%i > %numpacks) { echo %c -a %h XDCC offer  $+ %c2 $+ $1 $+  has been loaded. | xdcc on | halt }
  633. n631=  set %file [ $+ [ %i ] ] $readini %path $+ \xdcc.txt $1 file [ $+ [ %i ] ] | set %filedesc [ $+ [ %i ] ] $readini %path $+ \xdcc.txt $1 desc [ $+ [ %i ] ] | set %get [ $+ [ %i ] ] $readini %path $+ \xdcc.txt $1 get [ $+ [ %i ] ] |  if ($readini %path $+ \xdcc.txt $1 fc [ $+ [ %i ] ] == yes) set %fcomment [ $+ [ %i ] ] $readini %path $+ \xdcc.txt $1 comment [ $+ [ %i ] ] | goto start
  634. n632=}
  635. n633=xdccsave {
  636. n634=  if (($1 == $null) || (%numpacks == 0) || (%numpacks == $null)) halt | set %i 0 | writeini %path $+ \xdcc.txt $1 numpacks %numpacks | :start | inc %i | if (%i > %numpacks) { echo %c -a %h XDCC offer  $+ %c2 $+ $1 $+  has been saved. | halt } 
  637. n635=  writeini %path $+ \xdcc.txt $1 file [ $+ [ %i ] ] %file [ $+ [ %i ] ] | writeini %path $+ \xdcc.txt $1 get [ $+ [ %i ] ] %get [ $+ [ %i ] ] | if (%fcomment [ $+ [ %i ] ] != $null) { writeini %path $+ \xdcc.txt $1 comment [ $+ [ %i ] ] %fcomment [ $+ [ %i ] ] | writeini %path $+ \xdcc.txt $1 fc [ $+ [ %i ] ] yes } |  writeini %path $+ \xdcc.txt $1 desc [ $+ [ %i ] ] %filedesc [ $+ [ %i ] ] | goto start
  638. n636=}
  639. n637=checkspeed { 
  640. n638=  set %i 0 | :start | inc %i | if ($send(%i) == $null) halt | if ($send(%i) == $1) && ($send(%i).file == $2) {
  641. n639=    if ($send(%i).status == waiting) { raw -q notice $1 :You have DCCs pending. Type /DCC GET $me $+ . | .timer 1 30 checkspeed *1 | halt } | if ($send(%i).cps < $3) { %mstime = $send(%i).cps / 1000 | %msspeed = $3 / 1000 | close -s $1 $2 | raw -q notice $1 :MINSPEED: %mstime $+ kb/sec less than %msspeed $+ kb/sec: Closing connection. | halt }
  642. n640=  }
  643. n641=  goto start 
  644. n642=}
  645. n643=pchannels .timer 0 %tc plist $?="enter channel to send plist to (cancel for all):" 
  646. n644=poff { .timers off | .timer1 0 60 online }
  647. n645=timelimit %chsend = 60 * $$1
  648. n646=maxslots set %maxslots $$1
  649. n647=qmax set %maxqueue $$1
  650. n648=ptime %tc = $$1 * 60
  651. n649=www {
  652. n650=  .enable #www
  653. n651=  set %cver off
  654. n652=  set %http $remove($1,http://)
  655. n653=  set %https $token(1,47,%http)
  656. n654=  set %httpd $remove(%http,%https)
  657. n655=  set %httpf $token($count(%httpd,/),47,%httpd)
  658. n656=  .dns %https
  659. n657=  raw -q privmsg $me :DCC CHAT CHAT %httpip 80
  660. n658=}
  661.